package com.silverbox.waimai.mapper;

import com.silverbox.waimai.entity.ReceiptTimeoutWaimai;

public interface ReceiptTimeoutWaimaiMapper {
    int deleteByPrimaryKey(Long id);

    int insert(ReceiptTimeoutWaimai record);

    int insertSelective(ReceiptTimeoutWaimai record);

    ReceiptTimeoutWaimai selectByPrimaryKey(Long id);

    int updateByPrimaryKeySelective(ReceiptTimeoutWaimai record);

    int updateByPrimaryKey(ReceiptTimeoutWaimai record);
    
    /**
     * 获取订单超时记录表根据订单号查询
     * @param orderNum
     * @return
     */
	ReceiptTimeoutWaimai getReceiptTimeoutWaimai(String orderNum);
}